From: Claudio Cambra Date: Wed, 26 Mar 2025 12:26:38 +0000 (+0100) Subject: gui/macOS: Do not leak local url and error objects in edit locally job X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2^2~62^2~9 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=d97b5b5711265acda74a796ea276eb3fa69056a9;p=nextcloud-desktop.git gui/macOS: Do not leak local url and error objects in edit locally job Signed-off-by: Claudio Cambra --- diff --git a/src/gui/macOS/fileprovidereditlocallyjob_mac.mm b/src/gui/macOS/fileprovidereditlocallyjob_mac.mm index f7ebd1d28..28ff7fd5b 100644 --- a/src/gui/macOS/fileprovidereditlocallyjob_mac.mm +++ b/src/gui/macOS/fileprovidereditlocallyjob_mac.mm @@ -87,6 +87,9 @@ void FileProviderEditLocallyJob::openFileProviderFile(const QString &ocId) << ocId; emit notAvailable(); } + + [itemLocalUrl release]; + [receivedError release]; } } // namespace OCC::Mac